package com.yanqu.road.logic.bussiness.activity;

import com.yanqu.road.entity.activity.condition.ConditionUserData;
import com.yanqu.road.entity.activity.newyear2023.FireWorkUserData;
import com.yanqu.road.entity.activity.newyear2023.cross.CrossFireWorkUserData;
import com.yanqu.road.entity.activity.newyear2023.cross.RedPacketTable;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class CrossConditionBusiness {
    public static Map<Long, Map<Integer, ConditionUserData>> getDataMap(int activityId) {
        return DaoHelper.getCrossConditionDaoImpl().getDataMap(activityId);
    }

    public static void addDataList(List<ConditionUserData> insertList) {
        DaoHelper.getCrossConditionDaoImpl().addDataList(insertList);
    }

    public static void updateDataList(List<ConditionUserData> updateList) {
        DaoHelper.getCrossConditionDaoImpl().updateDataList(updateList);
    }

}
